﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage<HandleErrorInfo>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Custom Error View</h2>
    <b>Controller:</b> <%=((HandleErrorInfo)ViewData.Model).ControllerName%> 
    <br /><br />
    <b>Action:</b> <%=((HandleErrorInfo)ViewData.Model).ActionName%> 
    <br /><br />
    <b>Message:</b> <%=((HandleErrorInfo)ViewData.Model).Exception.Message%> 
    <br /><br />
    <b>Stack Trace:</b><pre><%=((HandleErrorInfo)ViewData.Model).Exception.StackTrace%></pre>
</asp:Content>
